package com.cll.prototype.email;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 描述信息:
 * 邮件模块启动类
 * @author CLL
 * @version 1.0
 * @date 2020/11/8 18:13
 */
@SpringBootApplication
@MapperScan(basePackages = "com.cll.prototype.api.email.mapper")
@EnableDiscoveryClient
public class EmailApplication8061 {

    private static final Logger logger = LoggerFactory.getLogger(EmailApplication8061.class);

    public static void main(String[] args) {
        logger.info("===>>> email module 8060 is starting...");
        SpringApplication.run(EmailApplication8061.class, args);
        logger.info("===>>> email module 8060 is started success!");
    }
}